IItemsSource

Ecng.ComponentModel

Represents a strongly typed source of items.

Implements: IItemsSource

Properties

Values
public IEnumerable<IItemsSourceItem<TValue>> Values { get; }
value = iItemsSource.Values

Gets the collection of strongly typed items.

Methods

CreateNewItem
public IItemsSourceItem<TValue> CreateNewItem(TValue value)
result = iItemsSource.CreateNewItem(value)

Creates a new strongly typed item using the specified value.

value
The value for creating the new item.

Returns: The newly created strongly typed item.